
import Layout from '@/layouts/index.vue';

export const menuRoutes = [
    {
        path: '/',
        component: Layout,
        onlyChild: true,
        redirect:'/home',
        children: [
            {
                path: 'home',
                component: () => import('@/views/Home'),
                name: 'Dashboard',
                meta: { title: '首页', icon: 'el-icon-s-home', defaultActive: '/'},
            }
        ],
    },
    {
        path: '/inviteManage',
        component: Layout,
        meta: { title: '招投标管理', icon: 'el-icon-s-home', defaultActive: '/'},
        children: [
            {
                path: 'invite',
                component: () => import('@/views/About.vue'),
                name: 'invite',
                meta: { title: '我要招标', icon: 'el-icon-s-home', defaultActive: '/'},
            },
            {
                path: 'bidding',
                component: () => import('@/views/About.vue'),
                name: 'bidding',
                meta: { title: '我要竞标', icon: 'el-icon-s-home', defaultActive: '/'},
            },
            {
                path: 'biddingManage',
                component: () => import('@/views/About.vue'),
                name: 'biddingManage',
                meta: { title: '竞标管理', icon: 'el-icon-s-home', defaultActive: '/'},
            },
            {
                path: 'price',
                component: () => import('@/views/About.vue'),
                name: 'price',
                meta: { title: '招标比价', icon: 'el-icon-s-home', defaultActive: '/'},
            }
        ],
    },
]